package com.syw.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * SywRewardproject entity. @author MyEclipse Persistence Tools
 */

public class SywRewardproject implements java.io.Serializable {

	// Fields

	private int id;
	private String name;
	private int money;
	private Set sywRewardrecords = new HashSet(0);

	// Constructors

	/** default constructor */
	public SywRewardproject() {
	}

	/** minimal constructor */
	public SywRewardproject(String name, int money) {
		this.name = name;
		this.money = money;
	}

	/** full constructor */
	public SywRewardproject(String name, int money, Set sywRewardrecords) {
		this.name = name;
		this.money = money;
		this.sywRewardrecords = sywRewardrecords;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getMoney() {
		return this.money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public Set getSywRewardrecords() {
		return this.sywRewardrecords;
	}

	public void setSywRewardrecords(Set sywRewardrecords) {
		this.sywRewardrecords = sywRewardrecords;
	}

}